package cn.wawi.entity.sys;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
* sys_role 实体类
* 2016-06-13 16:57:19 cn.wawi.entity.sys
*/ 
public class Role implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private String roleName;
	private String roleCode;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date inputTime=new Date();
	private String remark;
	public void setId(Long id){
		this.id=id;
	}
	public Long getId(){
		return id;
	}
	public void setRoleName(String roleName){
		this.roleName=roleName==null?null:roleName.trim();
	}
	public String getRoleName(){
		return roleName;
	}
	public void setRoleCode(String roleCode){
		this.roleCode=roleCode==null?null:roleCode.trim();
	}
	public String getRoleCode(){
		return roleCode;
	}
	public void setInputTime(java.util.Date inputTime){
		this.inputTime=inputTime;
	}
	public java.util.Date getInputTime(){
		return inputTime;
	}
	public void setRemark(String remark){
		this.remark=remark==null?null:remark.trim();
	}
	public String getRemark(){
		return remark;
	}
}

